package valueobject

import "github.com/lab-online/pkg/auth"

type User struct {
	Name     string
	Username string
	Role     uint
}

type UserVO interface {
	GetName() string
	GetUsername() string
	GetRole() uint

	IsAdmin() bool
	IsTeacher() bool
	IsStudent() bool
	IsIncludeRole(auth.Role) bool
}
